package com.example.gzysmartcity.repository.model;

import java.util.List;

public class Commodity {

    /**
     * status : 200
     * message : SUCCESS
     * data : [{"id":30,"commodityName":"帮宝适 一级帮纸尿裤M62","commodityTypeId":1,"money":"155.70","costPrice":"139.00","pic":"http://smartcity.lenovoedu.com/smartcity/image/3599f298d0e970a3.jpg","volume":"71174"}]
     */

    private int status;
    private String message;
    /**
     * id : 30
     * commodityName : 帮宝适 一级帮纸尿裤M62
     * commodityTypeId : 1
     * money : 155.70
     * costPrice : 139.00
     * pic : http://smartcity.lenovoedu.com/smartcity/image/3599f298d0e970a3.jpg
     * volume : 71174
     */

    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private int id;
        private String commodityName;
        private int commodityTypeId;
        private String money;
        private String costPrice;
        private String pic;
        private String volume;
        private Double moneyDis;

        public Double getMoneyDis() {
            return moneyDis;
        }

        public void setMoneyDis(Double moneyDis) {
            this.moneyDis = moneyDis;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getCommodityName() {
            return commodityName;
        }

        public void setCommodityName(String commodityName) {
            this.commodityName = commodityName;
        }

        public int getCommodityTypeId() {
            return commodityTypeId;
        }

        public void setCommodityTypeId(int commodityTypeId) {
            this.commodityTypeId = commodityTypeId;
        }

        public String getMoney() {
            return money;
        }

        public void setMoney(String money) {
            this.money = money;
        }

        public String getCostPrice() {
            return costPrice;
        }

        public void setCostPrice(String costPrice) {
            this.costPrice = costPrice;
        }

        public String getPic() {
            return pic;
        }

        public void setPic(String pic) {
            this.pic = pic;
        }

        public String getVolume() {
            return volume;
        }

        public void setVolume(String volume) {
            this.volume = volume;
        }

    }
}
